package cn.edu.zzuli.admin.mapper;


import cn.edu.zzuli.model.entity.Identity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IdentityMapper extends BaseMapper<Identity> {

    //获取所有被删除的信息
    List<Identity> getDeleted(@Param("name") String stuName);

    //撤销删除
    int backOut(Integer id);
}
